/**
 * Created by kangdaye on 16/5/15.
 */
app.service('userListService',["$http", function($http) {
    this.delete = function (postData,callback) {
        $http.post(servicePath + 'user/delete',postData).success(callback);
    };

    this.add = function (postData,callback) {
        $http.post(servicePath + 'user/add',postData).success(callback);
    };

    this.update = function (postData,callback) {
        $http.post(servicePath + 'user/update',postData).success(callback);
    };
}]);
